<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<script src="../js/jquery-3.3.1.js" type="text/javascript" charset="utf-8"></script>
	<script src="http://static.runoob.com/assets/jquery-validation-1.14.0/lib/jquery.js"></script>
	<script src="http://static.runoob.com/assets/jquery-validation-1.14.0/dist/jquery.validate.min.js"></script>
	<script src="../js/messages_zh.js"></script>
	
	<body>
		<form action="login" method="post" id="test">
		<table >
			<tr>
				<td>用户名:</td>
				<td><div><input type="text" name="username" placeholder="请输入您的用户名/手机号" required></div></td>
			</tr>
			<tr>
				<td>密码：</td>
				<td><div><input type="password" name="password" placeholder="请输入您的密码" required/></div></td>
			</tr>
			<tr>
				<td><input type="submit"  value="登录"/></td>
				<td><a href="register.html"><input type="button" value="注册"/></a></td>
			</tr>		
		</table>
		
	</form>

		
	<script type="text/javascript">
		
		$("#test").validate();
	</script>
	
	</body>
</html>
